package com.buyingtickets.entity;

/**
 * @author czl
 * @version 1.0
 * @description: TODO
 * @date 2021/6/27 22:42
 */
public class InitialSeat {
    private int initialSeatId;//初始座位ID
    private Train train;//列车对象
    private int carNumber;//车厢号
    private int srow;//座位号（排）
    private char scol;//座位位置


    @Override
    public String toString() {
        return "InitialSeat{" +
                "initialSeatId=" + initialSeatId +
                ", train=" + train +
                ", carNumber=" + carNumber +
                ", srow=" + srow +
                ", scol=" + scol +
                '}';
    }

    public int getInitialSeatId() {
        return initialSeatId;
    }

    public void setInitialSeatId(int initialSeatId) {
        this.initialSeatId = initialSeatId;
    }


    public Train getTrain() {
        return train;
    }

    public void setTrain(Train train) {
        this.train = train;
    }

    public int getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(int carNumber) {
        this.carNumber = carNumber;
    }

    public int getSrow() {
        return srow;
    }

    public void setSrow(int srow) {
        this.srow = srow;
    }

    public char getScol() {
        return scol;
    }

    public void setScol(char scol) {
        this.scol = scol;
    }
}
